package com.css.zfzx.data.primary.qhProbabilityEarthquakeDangerPG.repository.entity;

import com.vividsolutions.jts.geom.Point;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @Description:
 * @Author: Li Helei
 * @CreateDate: 2021/3/3 17:10
 * @Version: 1.0
 **/
@Entity
@Table(name = "qh_probability_earthquake_danger", schema = "base", catalog = "")
public class QhProbabilityEarthquakeDangerPGEntity {
    private String uuid;
    private String province;
    private String city;
    private String area;
    private String affiliatedFileName;
    private Double a;
    private Double b;
    private Double c;
    private Double d;
    private Double e;
    private Double f;
    private Double g;
    private Double h;
    private Double i;
    private Double j;
    private String l;
    private String m;
    private String n;
    private String o;
    private String p;
    private String q;
    private String objectCode;
    private String isValid;
    private String partitionFlag;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;
    private String geoPoint;
    private String geoMultipoint;

    @Id
    @Column(name = "uuid")
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Basic
    @Column(name = "province")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Basic
    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Basic
    @Column(name = "area")
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Basic
    @Column(name = "affiliated_file_name")
    public String getAffiliatedFileName() {
        return affiliatedFileName;
    }

    public void setAffiliatedFileName(String affiliatedFileName) {
        this.affiliatedFileName = affiliatedFileName;
    }

    @Basic
    @Column(name = "A")
    public Double getA() {
        return a;
    }

    public void setA(Double a) {
        this.a = a;
    }

    @Basic
    @Column(name = "B")
    public Double getB() {
        return b;
    }

    public void setB(Double b) {
        this.b = b;
    }

    @Basic
    @Column(name = "C")
    public Double getC() {
        return c;
    }

    public void setC(Double c) {
        this.c = c;
    }

    @Basic
    @Column(name = "D")
    public Double getD() {
        return d;
    }

    public void setD(Double d) {
        this.d = d;
    }

    @Basic
    @Column(name = "E")
    public Double getE() {
        return e;
    }

    public void setE(Double e) {
        this.e = e;
    }

    @Basic
    @Column(name = "F")
    public Double getF() {
        return f;
    }

    public void setF(Double f) {
        this.f = f;
    }

    @Basic
    @Column(name = "G")
    public Double getG() {
        return g;
    }

    public void setG(Double g) {
        this.g = g;
    }

    @Basic
    @Column(name = "H")
    public Double getH() {
        return h;
    }

    public void setH(Double h) {
        this.h = h;
    }

    @Basic
    @Column(name = "I")
    public Double getI() {
        return i;
    }

    public void setI(Double i) {
        this.i = i;
    }

    @Basic
    @Column(name = "J")
    public Double getJ() {
        return j;
    }

    public void setJ(Double j) {
        this.j = j;
    }

    @Basic
    @Column(name = "L")
    public String getL() {
        return l;
    }

    public void setL(String l) {
        this.l = l;
    }

    @Basic
    @Column(name = "M")
    public String getM() {
        return m;
    }

    public void setM(String m) {
        this.m = m;
    }

    @Basic
    @Column(name = "N")
    public String getN() {
        return n;
    }

    public void setN(String n) {
        this.n = n;
    }

    @Basic
    @Column(name = "O")
    public String getO() {
        return o;
    }

    public void setO(String o) {
        this.o = o;
    }

    @Basic
    @Column(name = "P")
    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    @Basic
    @Column(name = "Q")
    public String getQ() {
        return q;
    }

    public void setQ(String q) {
        this.q = q;
    }

    @Basic
    @Column(name = "object_code")
    public String getObjectCode() {
        return objectCode;
    }

    public void setObjectCode(String objectCode) {
        this.objectCode = objectCode;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "partition_flag")
    public String getPartitionFlag() {
        return partitionFlag;
    }

    public void setPartitionFlag(String partitionFlag) {
        this.partitionFlag = partitionFlag;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "geo_point")
    public String getGeoPoint() {
        return geoPoint;
    }

    public void setGeoPoint(String geoPoint) {
        this.geoPoint = geoPoint;
    }

    @Basic
    @Column(name = "geo_multipoint")
    public String getGeoMultipoint() {
        return geoMultipoint;
    }

    public void setGeoMultipoint(String geoMultipoint) {
        this.geoMultipoint = geoMultipoint;
    }

    @Override
    public boolean equals(Object o1) {
        if (this == o1) return true;
        if (o1 == null || getClass() != o1.getClass()) return false;
        QhProbabilityEarthquakeDangerPGEntity that = (QhProbabilityEarthquakeDangerPGEntity) o1;
        return Objects.equals(uuid, that.uuid) &&
                Objects.equals(province, that.province) &&
                Objects.equals(city, that.city) &&
                Objects.equals(area, that.area) &&
                Objects.equals(affiliatedFileName, that.affiliatedFileName) &&
                Objects.equals(a, that.a) &&
                Objects.equals(b, that.b) &&
                Objects.equals(c, that.c) &&
                Objects.equals(d, that.d) &&
                Objects.equals(e, that.e) &&
                Objects.equals(f, that.f) &&
                Objects.equals(g, that.g) &&
                Objects.equals(h, that.h) &&
                Objects.equals(i, that.i) &&
                Objects.equals(j, that.j) &&
                Objects.equals(l, that.l) &&
                Objects.equals(m, that.m) &&
                Objects.equals(n, that.n) &&
                Objects.equals(o, that.o) &&
                Objects.equals(p, that.p) &&
                Objects.equals(q, that.q) &&
                Objects.equals(objectCode, that.objectCode) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(partitionFlag, that.partitionFlag) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(geoPoint, that.geoPoint) &&
                Objects.equals(geoMultipoint, that.geoMultipoint);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uuid, province, city, area, affiliatedFileName, a, b, c, d, e, f, g, h, i, j, l, m, n, o, p, q, objectCode, isValid, partitionFlag, createUser, createTime, updateUser, updateTime, geoPoint, geoMultipoint);
    }
}
